<?php



switch($nav)

	{
		case "login":
		process_login();
		
		break;
		
		case "logout":
		process_logout();
		
		
			break;
			
		case "editprofile":
			include ("$staticDir/editprofile.php");
			break;	
			
		case "memberlist":
			include ("$staticDir/memberlist.php");
			break;
			
		case "register":
			include ("$staticDir/register.php");
			break;	
		
		case "addtutorial":
			include ("$staticDir/addtutorial.php");
			break;
		
		case "category":
			include ("$staticDir/viewcategory.php");
			break;
			
		case "viewpage":
			include ("$staticDir/viewpage.php");
			break;
			
		case "tutmain":
			include ("$staticDir/tutmain.php");
			break;
			
		case "forum":
			include ("$staticDir/forum.php");
			break;
		
	
			
		default:
			include ('default.php');
			break;
	};
	
	
	
	
	
	?>